import { getAction } from './manage'
const path = process.env.REACT_APP_BASE_API;

// 查询聊天记录分页列表接口
const getChartList = (params: any) => getAction(`${path}/messages/chatRecord`, params);
// 查询新消息
const getSelectPcReceiveCount = (params: any) => getAction(`${path}/messages/selectPcReceiveCount`, params);
// 改变聊天列表某一条数据状态
const updateStatus = (params: any) => getAction(`${path}/messages/updateStatus`, params);


export {
  getChartList,
  getSelectPcReceiveCount,
  updateStatus,
}